# -*-coding=utf-8 -*-
class Calculator:
	def __init__(self, name, price):
		self.name = name
		self.price = price
		
	def add(self, x, y):
		print self.name
		result = x+y
		print result

	def minus(self, x, y):
		print self.name
		result = x-y
		print result

	def times(self, x, y):
		print self.name
		result = x*y
		print result

	def divide(self, x, y):
		print self.name
		result = x/y
		print result

cal = Calculator('小天才',18)
print cal.name
print cal.price
cal.add(10, 11)
cal.minus(10, 11)
cal.times(3, 2)
cal.divide(3, 2.0)